package net.hn.hnms.biz.plan.domain;


import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.baomidou.mybatisplus.annotation.*;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

@Data
@NoArgsConstructor
@ExcelIgnoreUnannotated
@EqualsAndHashCode(callSuper = false)
@TableName("execution_inventory")
public class ExecutionInventory extends BaseModel implements Serializable {

    /**
     * 主键ID
     */
    @TableId(type = IdType.ASSIGN_UUID)
    private String id;

    @ApiModelProperty(value = "库存日期")
    @JsonFormat(
            pattern = "yyyy-MM-dd",
            timezone = "GMT+8"
    )
    @DateTimeFormat( pattern = "yyyy-MM-dd")
    @TableField(updateStrategy = FieldStrategy.IGNORED)
    private Date inventoryDate;

    @ApiModelProperty(value = "原煤")
    @TableField(updateStrategy = FieldStrategy.IGNORED)
    private Double rawCoal;

    @ApiModelProperty(value = "混煤")
    @TableField(updateStrategy = FieldStrategy.IGNORED)
    private Double mixedCoal;

    @ApiModelProperty(value = "沫煤")
    @TableField(updateStrategy = FieldStrategy.IGNORED)
    private Double frothCoal;

    @ApiModelProperty(value = "混洗煤")
    @TableField(updateStrategy = FieldStrategy.IGNORED)
    private Double mixedCoalWashing;

    @ApiModelProperty(value = "洗精煤")
    @TableField(updateStrategy = FieldStrategy.IGNORED)
    private Double cleanedCoal;

    @ApiModelProperty(value = "块煤")
    @TableField(updateStrategy = FieldStrategy.IGNORED)
    private Double lumpCoal;

    @ApiModelProperty(value = "粒煤")
    @TableField(updateStrategy = FieldStrategy.IGNORED)
    private Double peaCoal;

    @ApiModelProperty(value = "其他")
    @TableField(updateStrategy = FieldStrategy.IGNORED)
    private Double otherCoal;

    @ApiModelProperty(value = "备注")
    @TableField(updateStrategy = FieldStrategy.IGNORED)
    private String remark;

}
